package com.community.owner.mapper;

import com.community.owner.domain.Resident;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ResidentMapper {
    List<Resident> getResidentByOwnerId(Long ownerId);


    Integer isIdCardExists(String idCard);


    Integer batchAddResidents( List<Resident> residentList);
}
